home *** CD-ROM | disk | FTP | other *** search
- #include "custctl.h"
- #include "nradio.h"
-
- PTModule DLLModule;
-
- #define CUSTCTL_VERSION 0x0100
- //------------------------------------------------------------------------
- #pragma argsused // Suppresses args not used warning message
- extern "C" int FAR PASCAL _export WEP(int nParameter)
- { // Windows Exit Procedure
- return (1);
- }
- //------------------------------------------------------------------------
- #pragma argsused
- extern "C" int FAR PASCAL LibMain(HINSTANCE hInstance, WORD wDataSeg,
- WORD cbHeapSize, LPSTR lpCmdLine)
- { // Library startup routine
- DLLModule = new TModule("CUSTCTL",hInstance,lpCmdLine);
- if (cbHeapSize > 0)
- UnlockData(0);
- return (1);
- }
- //=======================================================================//
-
- extern "C" WORD FAR PASCAL _export CTLCustCtlGetVersion(void)
- {
- return CUSTCTL_VERSION;
- }
-